import { IsNotEmpty, IsNumber } from "class-validator";
import { User } from "src/entity/user.entity";

export class sendMessageDto {
  @IsNotEmpty()
  room_id: number;
  @IsNotEmpty()
  message: string;
  user: User;
}

export class getHistoryDto {
  @IsNumber()
  room_id: number;
}
